package priv.mill.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class AnotationController {

	@RequestMapping("/AnotationController")
	public ModelAndView handleRequest() throws Exception {
		
		ModelAndView modelAndView = new ModelAndView();
		modelAndView.addObject("myinfo","Hello aray boty!");
		modelAndView.setViewName("/WEB-INF/jsp/Base.jsp");
		return modelAndView;
	}

}
